from django.contrib import admin
from django.urls import path
from search import views  # 导入应用中的视图
urlpatterns = [
    path('admin/', admin.site.urls),
    path('', views.index, name='index'),  # 首页路由
    path('search/', views.search, name='search'),  # 搜索结果页面
    path('about/', views.about, name='about'),
    path('docs/', views.docs, name='docs'),

    path('contact', views.contact, name='contact'),

    path('submit/', views.submit, name='submit'),
    path('browse', views.browse, name='browse'),
    path('draw', views.draw, name='draw'),

    path('download/index', views.download, name='download'),



    path('detail', views.detail, name='detail'),

]
